package com.xing.service.impl;

import com.xing.dao.UserDao;
import com.xing.dao.impl.UserDaoImpl;
import com.xing.domain.User;
import com.xing.service.UserService;

/*
 * 静，谦虚谨慎，心胸宽广容纳所有好的坏的、先苦后甜
 * day39bookshop
 * 2021/4/29 14:07
 */
public class UserServiceImpl implements UserService {
    private UserDao userdao=new UserDaoImpl();
    @Override
    public User login(String username, String pwd) {
        return userdao.select(username,pwd);
    }
}
